<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./../admin/css/menu.css">
    <script src="./../admin/layui/layui.js"></script>
    <script src="./../admin/js/menu.js"></script>
</head>
<body>
        <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
              <button class="layui-btn layui-btn-sm" lay-event="getCheckData">添加菜单</button>
            </div>
          </script>
           
          <script type="text/html" id="barDemo">
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
          </script>
                        

          <script type="text/html" id="switchTpl">
            <!-- 这里的 checked 的状态只是演示 -->
            <input type="checkbox" name="sex" value="{{d.m_id}}" lay-skin="switch" lay-text="开|关" lay-filter="sexDemo" {{ d.m_status == 1 ? 'checked' : '' }}>
          </script>

        <div class="demoTable">
                搜索ID：
                <div class="layui-inline">
                  <input class="layui-input" name="id" id="demoReload" autocomplete="off">
                </div>
                <button class="layui-btn" data-type="reload">搜索</button>
              </div>
               
              <table class="layui-hide" id="menu" lay-filter="menu"></table> 
</body>
</html>